package com.zl.iot.docking.consts;


/**
 * @author chenzy
 * @since 2022-03-30
 **/
public enum ModuleStatus {
    NoExistent(200,"不存在")
    ,Online(201,"在线")
    ,Offline(202,"离线")
    ,NoActiv(203,"未激活")
    ,Disable(204,"已禁用")
    ,NoRegist(205,"未注册")
    ,Other(300,"其他")
    ,MachineNoExistent(100,"设备不存在"),MahcineUnused(102,"设备暂停使用"),MachineWithdraw(103,"设备未授权"),MachineNoPermission(104,"设备无权限");

    public final Integer id;
    public final String msg;

    public String getMsg() {
        return msg;
    }

    ModuleStatus(Integer id, String msg) {
        this.id = id;
        this.msg = msg;
    }
}
